<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:80:"/data/wwwroot/luckyDraw/m/public/../application/single_draw/view/index/index.php";i:1498785820;}*/ ?>
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="format-detection" content="telephone=no" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <link rel="stylesheet" href="<?php echo \think\Config::get('singleDraw'); ?>/css/reset.css">
    <link rel="stylesheet" href="<?php echo \think\Config::get('singleDraw'); ?>/css/atom.css">
    <link rel="stylesheet" href="<?php echo \think\Config::get('singleDraw'); ?>/css/global.css">
    <link rel="stylesheet" href="<?php echo \think\Config::get('singleDraw'); ?>/css/open.css">
    <link rel="stylesheet" href="<?php echo \think\Config::get('singleDraw'); ?>/css/style.css">
    <title>礼包</title>
</head>
<body ontouchstart="" class="open-body" style="background:#FFF4D2;">
<div class="top">
    <ul>
        <li class="cur">抽奖</li>
        <li onClick="window.location.href='<?php echo url('lianpiao/index'); ?>'">我的奖品</li>
    </ul>
</div>
<div class="wrapper">
    <div class="bg rotate"></div>
    <div class="open-has ">
        <div class="mod-chest">
            <div class="chest-close show " onClick="window.location.href='<?php echo url('jihuo/index'); ?>'">
                <div class="gift"></div>
                <div class="tips">
                    <i class="arrow"></i>
                </div>
            </div>
            <div class="chest-open ">
                <div class="mod-chest-cont open-cont">
                    <div class="content">
                        <div class="gift">
                            <div class="icon">上海迪士尼乐园</div>
                        </div>
                        <div class="func">
                            <button class="chest-btn">查看详情并提取</button>
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </div>
    <div class="open-none" style="display:none">
        <h3>你来晚啦，下次早点吧！</h3>
        <div class="mod-chest">
            <div class="chest-open show"></div>
        </div>
        <div class="func">
            <button class="chest-btn">查看领取详情</button>
        </div>
    </div>
</div>
<div style="text-align:left;font:normal 14px/24px 'MicroSoft YaHei'; color:#865500; width:80%; margin:28px auto; ">
    <p></p>
</div>
</body>
<script>
    new function () {
        var _self = this;
        _self.width = 750;//设置默认最大宽度
        _self.fontSize = 100;//默认字体大小
        _self.widthProportion = function () {
            var p = document.getElementsByTagName("html")[0].offsetWidth / _self.width;
            return p > 1 ? 1 : p;
        };
        _self.changePage = function () {
            document.getElementsByTagName("html")[0].setAttribute("style", "font-size:" + _self.widthProportion() * _self.fontSize + "px !important");
        };
        _self.changePage();
        window.addEventListener("resize", function () {
            _self.changePage();
        }, false);
    };
</script>
<script src="<?php echo \think\Config::get('singleDraw'); ?>/js/jquery-1.7.2.min.js" type="text/javascript"></script>
</html>